package com.xnyzc.lhy.mis.entity.system;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 特殊时间段计费规则表
 *
 * @author rhr
 * @since 2020-11-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "OaSysBillSpecialTimeRule对象", description = "特殊时间段计费规则表")
public class OaSysBillSpecialTimeRule implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "special_rule_id", type = IdType.INPUT)
    private Long specialRuleId;

    @ApiModelProperty(value = "对应的计费规则组ID")
    private Long groupId;

    @ApiModelProperty(value = "城市ID")
    private Integer cityId;

    @ApiModelProperty(value = "渠道ID")
    private Integer channelId;

    @ApiModelProperty(value = "车辆类型（经济、舒适、商务、豪华等）")
    private Integer vehicleType;

    @ApiModelProperty(value = "叫车方式-立即叫车/预约叫车/接机/送机/接站/送站")
    private Integer callType;

    @ApiModelProperty(value = "开始时间")
    private String startTime;

    @ApiModelProperty(value = "结束时间")
    private String endTime;

    @ApiModelProperty(value = "百分比")
    private Integer proportion;

    @ApiModelProperty(value = "是否删除(0:否,1:是)")
    private Integer deleted;


    public static final String GROUP_ID = "group_id";

    public static final String CITY_ID = "city_id";

    public static final String CHANNEL_ID = "channel_id";

    public static final String VEHICLE_TYPE = "vehicle_type";

    public static final String CALL_TYPE = "call_type";

    public static final String START_TIME = "start_time";

    public static final String DELETED = "deleted";
}
